package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *请求包：交易网－> 监管系统
 * 交易网发起 查银行端会员资金台帐余额
 * zhouwentong
 */
@XmlRootElement(name="Result")
@XmlAccessorType(XmlAccessType.FIELD)
public class CheckBalanceOfBankAccountPB1010 extends PaPacket{

	private static final long serialVersionUID = 2346367482952703551L;
	 //资金汇总账号
	 @XmlElement(name="SupAcctId")
	 @Length(max=32)
	 @NotEmpty
	 private String supAcctId;
	 //交易网会员代码
	 @XmlElement(name="ThirdCustId")
	 @Length(max=32)
	 private String thirdCustId;
	 //子账户
	 @XmlElement(name="CustAcctId")
	 @Length(max=32)
	 private String custAcctId;
	 //查询标志
	 //1：全部 2：普通会员子账户 3：功能子账户（利息、手续费、清收子账户）
	 @XmlElement(name="SelectFlag")
	 private int selectFlag;
	 //第几页
	 //起始值为1，每次最多返回20条记录，第二页返回的记录数为第21至40条记录，第三页为41至60条记录，顺序均按照建立时间的先后
	 @XmlElement(name="PageNum")
	 private int pageNum;
	 
	 
	public String getSupAcctId() {
		return supAcctId;
	}
	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}
	public String getThirdCustId() {
		return thirdCustId;
	}
	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}
	public String getCustAcctId() {
		return custAcctId;
	}
	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}
	public int getSelectFlag() {
		return selectFlag;
	}
	public void setSelectFlag(int selectFlag) {
		this.selectFlag = selectFlag;
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	
	@Override
	protected String[] order() {
		 String[] objs = {"supAcctId","thirdCustId","custAcctId","selectFlag","pageNum","reserve"};
		return objs;
	}
	@Override
	protected String tranFunc() {
		return "1010";
	}


	
}
